package org.jeecg.modules.outbound.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * @Description: 包材出库单管理
 * @Author: jeecg-boot
 * @Date:   2024-08-12
 * @Version: V1.0
 */
@ApiModel(value="buss_package_outbound_order_management对象", description="包材出库单管理")
@Data
@TableName("buss_package_outbound_order_management")
public class BussPackageOutboundOrderManagement implements Serializable {
    private static final long serialVersionUID = 1L;

    /**主键*/
    @TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private String id;
    /**单据编号*/
    @Excel(name = "单据编号", width = 15)
    @ApiModelProperty(value = "单据编号")
    private String code;
    /**出库类型*/
    @Excel(name = "出库类型", width = 15, dicCode = "ck_type")
    @Dict(dicCode = "ck_type")
    @ApiModelProperty(value = "出库类型")
    private String outboundType;
    /**仓库*/
    @Excel(name = "仓库", width = 15, dictTable = "erp_warehouse", dicText = "name", dicCode = "id")
    @Dict(dictTable = "erp_warehouse", dicText = "name", dicCode = "id")
    @ApiModelProperty(value = "仓库")
    private String warehouseId;
    /**上级单号*/
    @Excel(name = "上级单号", width = 15)
    @ApiModelProperty(value = "上级单号")
    private String superiorOrderNumber;
    /**出库日期*/
    @Excel(name = "出库日期", width = 15, format = "yyyy-MM-dd")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "出库日期")
    private Date outboundDate;
    /**供应商*/
    @Excel(name = "供应商", width = 15, dictTable = "erp_supplier", dicText = "name", dicCode = "id")
    @Dict(dictTable = "erp_supplier", dicText = "name", dicCode = "id")
    @ApiModelProperty(value = "供应商")
    private String supplierId;
    /**客户名称*/
    @Excel(name = "客户名称", width = 15)
    @ApiModelProperty(value = "客户名称")
    private String cutomerName;
    /**部门车间*/
    @Excel(name = "部门车间", width = 15, dictTable = "sys_depart", dicText = "depart_name", dicCode = "id")
    @Dict(dictTable = "sys_depart", dicText = "depart_name", dicCode = "id")
    @ApiModelProperty(value = "部门车间")
    private String departmentWorkshop;
    /**备注*/
    @Excel(name = "备注", width = 15)
    @ApiModelProperty(value = "备注")
    private String remark;
    /**创建人*/
    @ApiModelProperty(value = "创建人")
    private String createBy;
    /**创建日期*/
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
    private Date createTime;
    /**更新人*/
    @ApiModelProperty(value = "更新人")
    private String updateBy;
    /**更新日期*/
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新日期")
    private Date updateTime;
    /**所属部门*/
    @ApiModelProperty(value = "所属部门")
    private String sysOrgCode;
    /**状态*/
    @Excel(name = "状态", width = 15)
    @ApiModelProperty(value = "状态")
    private String status;
}
